/* Section 2 Styling */
.section-2 {
    background: linear-gradient(to bottom, #185adb, #001741);
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: flex-start;
  }
  
  .section-2-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 100;
    color: #fff;
    text-align: left;
    margin: 70px 0 20px 60px;
    line-height: 1.2;
  }
  
  .card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns */
    gap: 40px 90px;
    max-width: 1000px;
    width: 98%;
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 60px;
  }
  
  .card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    max-width: 410px;
    position: relative;
    margin: 0 auto;
    height: 50px;
    width: 100%;
  }
  
  .icon-container {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  
  .text-container {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
  }
  
  .title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0;
  }
  
  .subtitle {
    font-size: 12.3px;
    color: #000000;
    margin: 0.8px 0 0;
  }
  
  /* Responsive Styles */
  @media (max-width: 1134px) {
    .section-2-headline {
      font-size: 60px;
      margin: 50px 0 30px 60px;
    }
  
    .card-container {
      grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
      max-width: 900px;
    }
  
    .card {
      max-width: 320px;
    }
  }
  
  @media (max-width: 999px) {
    .section-2-headline {
      font-size: 50px;
      margin: 50px 0 30px 50px;
    }
  
    .card-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px 20px;
      padding: 0px;
    }
  
    .card {
      max-width: 285px;
    }
  
    .icon-container {
      width: 45px;
      height: 45px;
    }
  
    .icon {
      width: 45px;
      height: 45px;
    }
  
    .text-container {
      margin-left: 20px;
    }
  
    .title {
      font-size: 12px;
    }

    .subtitle {
      font-size: 12px;
    }
  }
  
  @media (max-width: 768px) {
    .section-2-headline {
      font-size: 50px;
      margin: 25px 0 0 50px;
      padding-bottom: 30px;
    }
  
    .card-container {
      grid-template-columns: 2, 1fr; /* Single column */
      max-width: 90% ;
      gap: 20px 100px ;
    }
  
    .text-container {
      margin-left: 8px;
    }
    .card {
      max-width: 337px;
      height: 35px;
      width: 80%;
    }
  
    .icon {
      width: 38px;
      height: 38px;
    }
  
    .icon-container {
      width: 38px;
      height: 38px;
    }

    .title,
    .subtitle {
      font-size: 11px;
    }
  
  }

  @media (max-width: 577px) {
    .section-2-headline {
      font-size: 45px;
      margin: 25px 0 0 55px;
      padding-bottom: 30px;
    }
  
    .card-container {
      grid-template-columns: 1fr; /* Single column */
      max-width: 60% ;
      gap: 20px;
    }
  
    .text-container {
      margin-left: 8px;
    }
    .card {
      max-width: 337px;
      height: 28px;
      width: 90%;
    }
  
    .icon {
      width: 38px;
      height: 38px;
    }
  
    .icon-container {
      width: 38px;
      height: 38px;
    }
  
  }

  @media (max-width: 480px) {
    .section-2-headline {
      font-size: 40px;
      margin: 40px 0 10px 40px;
    }
  
    .card-container {
      gap: 20px ;
      max-width: 280px;
      width: 100%;
      margin-bottom: 30px;
      margin-left: 50px;
    }
  
    .card {
      max-width: 240px;
      height: 40px;
      width: 100%;
      margin: 0px ;
    }
  
    .icon-container {
      width: 45px;
      height: 45px;
      left: -22px;
    }
  
    .icon {
      width: 45px;
      height: 45px;
    }
  
    .text-container {
      margin-left: 15px;
    }
  
    .title,
    .subtitle {
      font-size: 12px;
    }
  }